package com.cskaoyan.bean.vo.admin.stat;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * /**
 *
 * @author 徐宇航
 * @since 2022/11/20 23:58
 */
@Data
public class UsersVo {

        private String[] columns;

        private List<Map> rows = new ArrayList<>();

        public String[] getColumns() {
            return columns;
        }

        public void setColumns(String[] columns) {
            this.columns = columns;
        }

        public List<Map> getRows() {
            return rows;
        }

        public void setRows(List<Map> rows) {
            this.rows = rows;
        }

        public void add(Map... r) {
            rows.addAll(Arrays.asList(r));
        }
    }

